package com.kongjs.application.model.dto;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class PageDTO<T> {
    private List<T> items;
    private Long pageNum;
    private Long pageSize;
    private Long total;
    private Long pages;
    private Long previousPageNum;
    private Long nextPageNum;
    private Boolean hasPrevious;
    private Boolean hasNext;
}
